#ifndef _RTC_H_
#define _RTC_H_

typedef struct RTC
{
  unsigned char year;
  unsigned char month;
  unsigned char date;
  unsigned char day;
  unsigned char hour;
  unsigned char minutes;
  unsigned char seconds;
} RTC_t;


typedef enum
{
    RTC_GET_TIME,
	RTC_SET_TIME
} eRtcMessageMode;



void RTC_GetClockTime(RTC_t *time);
void RTC_SetClockTime(RTC_t *time);


#endif //_RTC_H_
